home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98b.txt
/
000051_icon-group-sender _Tue Jun 2 09:05:21 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id JAA11212
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 2 Jun 1998 09:05:21 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA05080; Tue, 2 Jun 1998 09:05:14 -0700
Date: Mon, 1 Jun 1998 23:43:37 -0500
Message-Id: <199806020443.XAA08820@segfault.cs.utsa.edu>
From: Clinton Jeffery <jeffery@segfault.cs.utsa.edu>
To: ok@atlas.otago.ac.nz
Cc: abrahams@acm.org, icon-group@optima.CS.Arizona.EDU
In-Reply-To: <199806020129.NAA09045@atlas.otago.ac.nz> (ok@atlas.otago.ac.nz)
Subject: Directory access facilities
Reply-To: jeffery@cs.utsa.edu
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 996
[Richard O'Keefe points out that directories are more like tables than they
are like files, and suggests a built-in function that returns a table mapping
file names to records of attributes, like in Tcl.]
Well, this is the kind of thing that gets object-oriented modeling people
excited. A directory *is* a file (it has persistent state, lives in the
file system name space, etc.) and it *is* a table (set of keys that map onto
values). Your point is well-taken. From a table it would be trivial to use
key(T) to generate the filenames for the common case that Paul wanted. If
you push the table analogy to its logical extreme, though, you should
implement the directory/table operations as direct manipulations on the file
system, like in the language EZ.
Anyone else have ideas (or votes) on how to do directory access facilities?
Clint Jeffery, jeffery@cs.utsa.edu
Division of Computer Science, The University of Texas at San Antonio
Research http://www.cs.utsa.edu/research/plss.html